
$(document).ready(function(){
	$("#savehxtd").click(function(){
		var daidstr ='';
		 $(".total:hidden").each(function(){
			 daidstr+=$(this).attr("value")+"|";
		 });
		 
		 $("#deltupian").append('<div class="deltp"><input type="text" name="daidstr" value="'+daidstr+'"></div>');
		 $("#form").ajaxSubmit({
	        	type : "post",
				url : "savehxtdAction.do",
				data:$(this).serialize(),
				complete:function(){
					var tabTitle = $('#r_content').tabs('getSelected').panel('options').title;
					var currentTab =$('#r_content').tabs('getTab',tabTitle);
					currentTab.panel('refresh');
				}
     });
			return false;
	});
});